/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.Joystick;

/**
 *
 * @author Administrator
 */
public class ControllerInterface {

    private Joystick LeftJoystick = new Joystick(1);
    private Joystick RightJoystick = new Joystick(2);
    private Joystick Gigaware = new Joystick(3);

    /**
     * A private constructor -- this is a singleton!
     */
    private ControllerInterface() {
    }
    private static ControllerInterface myInstance;

    public static ControllerInterface getInstance() {
        //if this is the first time:
        if (null == myInstance) {
            myInstance = new ControllerInterface();
        }
        return myInstance;
    }

    /**
     * checks if buttons are pressed. if they are, it sets fire button to true.
     * not yet implemented
     */
    public boolean CheckFireButton() {
        //TODO
        return true;

    }

    /**
     * function not yet implemented
     * @return
     */
    public boolean LowerBridgeArm() {
        //TODO
        return true;
    }

    /**
     * function not yet implemented
     * @return
     */
    public boolean RaiseBridgeArm() {
        //TODO
        return true;
    }

    /**
     * function not yet implemented
     * @return
     */
    public boolean GathererOn() {
        //TODO
        return false;
    }

    /**
     * function not yet implemented
     * @return
     */
    public boolean GathererOff() {
        //TODO
        return false;
    }

    /**
     * function not yet implemented
     * @return
     */
    public boolean FeederOn() {
        //TODO
        return false;
    }

    /**
     * function not yet implemented
     * @return
     */
    public boolean FeederOff() {
        //TODO
        return true;
    }

    /**
     * function not yet implemented
     * @return
     */
    public boolean BalanceControlsOn() {
        //TODO
        return true;
    }

    /**
     * function not yet implemented
     * @return
     */
    public boolean BalanceControlsOff() {
        //TODO
        return true;
    }

    /**
     * function not yet implemented
     * @return
     */
    public double GetLeftSpeed() {
        //TODO
        return 1;
    }

    /**
     * function not yet implemented
     * @return
     */
    public double GetRightSpeed() {
        //TODO
        return 1;
    }

    /**
     * function not yet implemented
     * @return
     */
    public double GetMaxSpeed() {
        //TODO
        return 0;
    }

    /**
     * function not yet implemented
     * @return
     */
    public double GetMinSpeed() {
        //TODO
        return 0;
    }
}
